home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-20
/
modenc.zip
/
EQUIPTO.BAT
< prev
next >
Wrap
DOS Batch File
|
1989-10-30
|
3KB
|
115 lines
echo off
rem
rem ***********************
rem * WSW copyright 1989 *
rem * 1140 Pleasant Lane *
rem * Glenview, IL 60025 *
rem * Ph. (312) 724-5623 *
rem ***********************
:begin
a:
cls
echo The PC Quote Program is ready to begin.
echo.
echo We suggest to install the Program on your Hard Disk. If you decide to do so,
echo Pc Quote will automatically install itself, and copy to the Hard Disk any
echo specifications that you may have already recorded on the Floppy Disk.
echo.
echo The PC Quote Program installed on your Hard Disk means that
echo.
echo - The program will run much faster (floppy disk drives are very slow.)
echo - You can run the program without having to look for the floppy disk.
echo - There is much more room for your specifications (a floppy disk has a
echo limited capacity.)
echo - The program can be installed and instantly available on several computers.
echo - You can store the floppy disk in a safe place, as a back-up.
echo.
echo Here are your choices:
echo.
echo 1 - Install PC Quote Program on the Hard Disk.
echo 2 - Start PC Quote Program from the Floppy Disk.
echo.
WSWread Your selection (1 or 2):
for %%e in (1 2 3) do if errorlevel %%e goto label%%e
cls
echo Please try again. Only '1' and '2' are allowed.
goto begin
:label1
C:
cd\
md \equipto
cls
echo PC Quote is now installing itself on your Hard Disk. To do so it creates a
echo Subdirectory named EQUIPTO, in which to store all the files of the program
echo and the ones you will generate.
echo.
echo You will find the EQUIPTO Subdirectory in the Root Directory (in other words,
echo the '\' Directory), together with a file named EQUIPTO BAT.
echo.
echo By entering EQUIPTO followed by 'Return' you'll run the PC Quote program.
echo.
echo ...checking the files...
if not exist a:equipto.hd goto missing
if not exist a:equipto.db goto missing
if not exist a:equipto.rb goto missing
if not exist a:equi.com goto missing
if not exist a:main.chn goto missing
if not exist a:spec.chn goto missing
if not exist a:prnt.chn goto missing
if not exist a:custfile.chn goto missing
if not exist a:WSWm.com goto missing
if not exist a:WSWr.com goto missing
if not exist a:WSWherc.com goto missing
if not exist a:WSWread.com goto missing
echo.
echo ...copying the files...
echo.
copy a:equipto.hd c:\equipto.bat > NUL
c:
cd\equipto
copy a:*.com > NUL
copy a:*.chn > NUL
copy a:*.pcq > NUL
copy a:*.equ > NUL
copy a:*.db > NUL
copy a:*.rb > NUL
echo.
echo The installation process is concluded. Type EQUIPTO and hit 'Return'
echo to run PC Quote.
echo.
echo Thank you for using Equipto Electronics' PC Quote Program.
goto end
:missing
cls
echo One or more file is missing from the disk in drive A:. The installation
echo process has been aborted. Ask Equipto Electronics to send you a new copy
echo of the PC Quote Program.
echo.
echo.
goto end
:label2
cls
echo ...starting the program...
echo.
echo The program will not run as fast as it could be, due to the floppy disk
echo drive's relatively slow speed. For better performance, you may decide to
echo install the program on the Hard Disk.
echo.
a:
WSWm EQUIPTO
WSWherc
equi
WSWr EQUIPTO
goto end
:label3
cls
echo Please try again. Only '1' and '2' are allowed.
goto begin
:end
ECHO.
ECHO.